package edu.Thread;

public class ImplementsRunnableDem implements Runnable{
	public static final int MAX_PRIORITY=10;
	@Override
	public void run() {
		Thread.currentThread().setName("t");
		for(int i=20;i<=30;i++) {
			System.out.println(Thread.currentThread().getName()+i+",");
		}
		
	}

}
